﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ApplyForTeacher.aspx.cs" Inherits="ApplyPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        .gvStyle
        {
            width: 80%;
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center" style="width: 100%; text-align: center">
        <asp:GridView ID="gvTeachers" runat="server" Width="100%" DataKeyNames="TeacherID"
            AutoGenerateColumns="false" OnRowDataBound="TeachersView_RowDataBound" OnRowCommand="gvTeachers_RowCommand"
            CssClass="gvStyle">
            <FooterStyle BackColor="White" ForeColor="black" />
            <RowStyle ForeColor="black" />
            <SelectedRowStyle BackColor="#f0fff0" Font-Bold="True" ForeColor="#000000" />
            <PagerStyle BackColor="White" ForeColor="#f0fff0" HorizontalAlign="Left" />
            <HeaderStyle Font-Bold="True" ForeColor="black" />
            <Columns>
                <asp:TemplateField  HeaderText="姓名">
                    <HeaderStyle BorderColor="#666666" BorderStyle="Solid" BorderWidth="0px"/>
                    <ItemStyle HorizontalAlign="Center" BorderColor="#999999" BorderWidth="0px"/>
                    <ItemTemplate>
                        <asp:LinkButton ID="name" CausesValidation="false" runat="Server"
                            Text='<%#Eval("TeacherName")%>' CommandName="cmdDetail" CommandArgument='<%#Eval("TeacherID")%>'>
                        </asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="ProfessionalTitle" HeaderText="职称" />
                <asp:BoundField DataField="ResearchArea" HeaderText="研究方向" />
                <asp:BoundField DataField="PlanNum" HeaderText="拟招人数" />
                <asp:BoundField DataField="CurNum" HeaderText="已招人数" />
                <asp:TemplateField HeaderText="操作">
                    <HeaderStyle BorderColor="#666666" BorderStyle="Solid" BorderWidth="1px" />
                    <ItemStyle HorizontalAlign="Center" BorderColor="#999999" BorderWidth="0px" />
                    <ItemTemplate>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
    <br />
    <br />
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    </form>
</body>
</html>
